#if !defined (_SUPPORT_CLASS)
#define _SUPPORT_CLASS

#include <Windows.h>
#include <math.h>
#include <GL\GL.h>
#include <GL\glut.h>

class Point3
{
public:
	float x, y, z;
	void set(float dx, float dy, float dz) {
		x = dx; y = dy; z = dz;
	}
	void set(Point3& p) {
		x = p.x; y = p.y; z = p.z;
	}
	Point3() { x = y = z = 0; }
	Point3(float dx, float dy, float dz){
		x = dx; y = dy; z = dz;
	}
};

class Color3
{
public:
	float r, g, b;
	void set(float red, float green, float blue)
	{
		r = red; g = green; b = blue;
	}
	void set(Color3& c)
	{
		r = c.r; g = c.g; b = c.b;
	}
	Color3() { r = g = b = 0; }
	Color3(float red, float green, float blue)
	{
		r = red; g = green; b = blue;
	}
};

#endif